package com.piggy.logi.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.piggy.logi.sys.domain.LogiWaybillValueAdd;
import com.piggy.logi.sys.mapper.LogiWaybillValueAddMapper;
import com.piggy.logi.sys.service.ILogiWaybillValueAddService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 运单增值服务Service业务层处理
 */
@Slf4j
@Service
public class LogiWaybillValueAddServiceImpl extends ServiceImpl<LogiWaybillValueAddMapper, LogiWaybillValueAdd> implements ILogiWaybillValueAddService {

    @Override
    public void updateByUK(LogiWaybillValueAdd logiWaybillValueAdd) {
        baseMapper.updateByUK(logiWaybillValueAdd);
    }

    @Override
    public void removeByUK(Long deptId, Long waybillId) {
        baseMapper.removeByUK(deptId, waybillId);
    }

    @Override
    public List<LogiWaybillValueAdd> getByWaybillIds(List<Long> waybillIds) {
        return baseMapper.selectByWaybillIds(waybillIds);
    }
}
